package com.example.demo.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.beans.Transient;
import java.util.Date;

/**
 * @author liaoxh
 * @create 2021-06-20-18:02
 */
@Data
public class Picture {
    private int id;
    @TableField(value = "userId")
    private int userId;
    private String title;
    private String miaoshu;
    @TableField("imUrl")
    private String imUrl;
    private String time;
    @TableField("zanNum")
    private int zanNum;
    @TableField(exist = false)
    private User user;
    @TableField(exist = false)
    private Boolean isZan;
}
